package com.stm.toolLedger.domain;

import java.util.Date;

import com.stm.common.annotation.Excel;
import com.stm.common.annotation.Excel.Type;
import com.stm.common.core.domain.BaseEntity;

import lombok.Data;

/**
 * 
 * @Description kf_tools 直接入库表
 * @CreateTime 2019年4月8日 下午4:57:26
 * @CreateBy 林龙
 */
@Data
public class KfTools extends BaseEntity{
	
	private static final long serialVersionUID = 1L;
	
	/** 序号 */
	@Excel(name = "序号",type = Type.EXPORT, width = 10)
	private String no;
	/** 库存编号 */
	@Excel(name = "库存编号", prompt = "长度不能大于16位字符且不能为中文或特殊符号")
	private String useCode;
	
    @Excel(name = "工具名称", prompt = "长度不能大于16位字符且不能为特殊符号", width = 20)
	private String toolName; //工具名称
	
    /** 工具类型id */
    @Excel(name = "工具类型", prompt = "长度不能大于16位字符且不能为特殊符号", width = 20)
    private String name; //工具类型

    /** 工具厂家id */
    @Excel(name = "工具厂家", prompt = "长度不能大于16位字符且不能为特殊符号", width = 20)
    private String factoryName; //厂家名称

    /** 型号规格id */
    @Excel(name = "型号规格", prompt = "长度不能大于16位字符且不能为特殊符号")
    private String modelName; //规格型号
    
    /** 电压等级 */
    @Excel(name = "电压等级", prompt = "1=220,2=110,3=1100,4=10,5=30,6=12,7=25,8=35,9=无电压等级,10=20,11=0.4",readConverterExp = "1=220,2=110,3=1100,4=10,5=30,6=12,7=25,8=35,9=无电压等级,10=20,11=0.4")
    private String elecLevelId;
    /** 所属库房 */
    @Excel(name = "工具柜", prompt = "长度不能大于16位字符且不能为特殊符号", width = 20)
    private String boxName; //工具柜名称

    private String id;

    private String toolsTypeId;

    private String factoryId;

    private String modelId;

    /** 购买日期 */
//    @Excel(name = "购买日期", width = 30, dateFormat = "yyyy-MM-dd", prompt = "格式为yyyy-MM-dd")
    private Date buyDate;

    /** 试验日期 */
    @Excel(name = "试验日期", width = 30, dateFormat = "yyyy-MM-dd", prompt = "格式为yyyy-MM-dd")
    private Date testDate;

    /** 下次试验日期 */
    @Excel(name = "下次试验日期", width = 30, dateFormat = "yyyy-MM-dd", prompt = "格式为yyyy-MM-dd")
    private Date nextTestDate;
    
    /** 使用日期 */
    @Excel(name = "使用日期", width = 30, dateFormat = "yyyy-MM-dd", prompt = "格式为yyyy-MM-dd", type = Type.IMPORT)
    private Date useDate;

    /** 最近检查日期 */
    @Excel(name = "最近检查日期", width = 30, dateFormat = "yyyy-MM-dd", prompt = "格式为yyyy-MM-dd", type = Type.IMPORT)
    private Date checkDate;
    
    private String toolsBoxId;

    private String toolsCabinetId;
    
    private String inoutState;
    
    private String gjbcm;
    
    /** RFID */
    @Excel(name = "RFID", prompt = "RFID")
    private String rfid;
    
    private String status;

    private String createBy;

    private Date createDate;

    private String updateBy;

    private Date updateTime;

    private String remark;
    
    private String testCycle;
    
    private Integer toolNums;   //工具需要新增的数量

    private String numberPrefix; //编号前缀
    
    private Integer initNum;  //初始序号

    private String testId; //试验id
    private String isqualified; //1:合格，2不合格，3初始
    
    private String scrapId; //报废id
    
	private String statusList;
	
	private String toolsNums; //库存数量
	
	private String numberhz; //库存数量
	
	private String [] ids; //库存数量
	
	private Integer isdown;  //预警天数
	
	private Integer num;  //预警天数
	private Integer outnums;  //预警天数
	private Integer innums;  //预警天数
	
    @Excel(name = "所属单位", prompt = "所属单位",type = Type.EXPORT)
	private String deptName; //公司名称

    private Integer dprtcode; 
    
    private String shelfId; //货架id
    private String testname; //货架id
    
    private String shelfFloor; //货架层级
    
    private String avatar; //地址
    private String shelfMark; //货架标识
    
    private Integer isprint;  //是否打印
}